package engine.newUi
{

	import engine.ui.lite.BaseUI;
	
	import flash.display.MovieClip;
	
	import newx.com.control.NxClip;
	import newx.com.control.button.NxButton;
	import newx.com.control.group.NxViewGroup;
	import newx.com.control.text.NxLabel;
	
	/**
	 * 普通战斗结算UI 
	 * @author liuel
	 * 
	 */	
	public class ActionResultUI extends BaseUI
	{
		private static var _self:ActionResultUI;
		/**战斗结果label**/
		public var resultlabel:MovieClip;
		/**战利品MC**/
		public var bootyMc    :MovieClip;
		/**队伍**/
		public var teamGroup  :NxViewGroup;
		/**战利品**/
		public var bootyGroup :NxViewGroup;
		public var one        :NxButton;
		public var two        :NxButton;
		public var three      :NxButton;
		public var labelBtn	    :NxButton;
		public var mc         :MovieClip;
		
		public var back01     :MovieClip;
		public var back02     :MovieClip;
		public var resultlabel2:MovieClip;
		public var back03     :MovieClip
		public var back04     :MovieClip;
		
		public var botypic		:MovieClip;
		
		public var guideMc		:MovieClip;
		public static function getInstance():ActionResultUI
		{
			if(_self==null)
			{
				_self=new ActionResultUI();
			}
			return _self;
		}


		public function ActionResultUI(popupUI:Boolean=true)
		{
			super(popupUI);
		}
		override public function  Init():void
		{
			windowBG.closeBtnVisible = false;
			ActionResultLogic.getInstance().Init();
			
		}
		
		override protected function	BeforeShow():void
		{
			super.BeforeShow();
			
			ActionResultLogic.getInstance().BeforeShow();
		}
		override protected function	AfterHide():void
		{
			ActionResultLogic.getInstance().AfterHide();
		}
	}
}